package com.ruoyi.configure;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.filter.FormContentFilter;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * 解决PUT请求接收不到参数
 */
@Configuration
@EnableWebMvc
public class ActivitiWebMvcConfigure {
    @Bean
    public FormContentFilter httpPutFormContentFilter() {
        return new FormContentFilter();
    }
}
